package com.kady.Dao;

import com.kady.entity.User;
import java.sql.SQLException;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: kady
 * \* Date: 2021/3/23
 * \* Time: 17:15
 * \* 千峰JAVA2101班
 * \* Description: 登录控制接口
 * \
 */

public interface AdminDao {
    User selectUser(String username) throws SQLException;
    long register(Object...objs) throws SQLException;

    User selectUserById(long userId) throws SQLException;
}
